<?php
require_once 'ErrorHandler.php';

class ErrorView
{
	public function showMessage($MessageID, $MessageType)
	{
		$eh = new ErrorHandler();
		return "<div class='" . $MessageType . "'>" . $eh->getMessage($MessageID) . "</strong></div>";
	}
	
	public function showErrorMessage($Message, $MessageType)
	{
		return "<div class='" . $MessageType . "'>" . $Message . "</strong></div>";
	}
}